//
//  XDServiceTagFlowLayout.h
//  XDance
//
//  Created by Vill on 2023/10/19.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class XDServiceTagFlowLayout;
@protocol XDServiceTagFlowLayoutDelegate <NSObject>

- (CGFloat)waterFlowLayout:(XDServiceTagFlowLayout *)layout widthForItem:(NSIndexPath *) indexPath;

@end

@interface XDServiceTagFlowLayout : UICollectionViewLayout

@property (nonatomic,assign) id <XDServiceTagFlowLayoutDelegate> delegate;
@property (nonatomic) NSInteger numberOfColumns;
@property (nonatomic) CGFloat minimumLineSpacing;
@property (nonatomic) CGFloat minimumInteritemSpacing;
@property (nonatomic) UIEdgeInsets sectionInset;

@end

NS_ASSUME_NONNULL_END
